/**菜单参数类型 */
class ParentChild {
  private id?: string;
  /**菜单编号 */
  public get Id(): string {
    return this.id as string;
  }
  public set Id(id: string) {
    this.id = id;
  }
  private parentId?: string;
  /**菜单父节点 */
  public get ParentId(): string {
    return this.parentId as string;
  }
  public set ParentId(parentId: string) {
    this.parentId = parentId;
  }

  private children?: Array<ParentChild>;
  /**菜单子数据 */
  public get Children(): Array<ParentChild> {
    return this.children as Array<ParentChild>;
  }
  public set Children(children: Array<ParentChild>) {
    this.children = children;
  }
  private isLeaf?: boolean;
  /**是否是叶子节点 */
  public get IsLeaf(): boolean {
    return this.isLeaf as boolean;
  }
  public set IsLeaf(isLeaf: boolean) {
    this.isLeaf = isLeaf;
  }
}
export default ParentChild;
